
body {
  background-color: #ecf0f5;
  font-family: -apple-system, BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue", "Microsoft YaHei",Arial,sans-serif;
}

ul{
  margin: 0;
  padding-left: 20px;
}
.no-border{
  border: none !important;
}
.input-mini {
  width: 84px !important;
}
.daterangepicker .ranges {
  width: 180px !important;
}

.stats-container {
  padding: 7.5px 7.5px 7.5px 0;
  min-width: 960px;
  overflow: auto;
}

.stats-row {
  display: flex;
  flex-flow: row wrap;
}

.stats-row .stats-panel{
  flex: 1;
}

.stats-panel {
  background-color: #fff;
  margin: 7.5px 7.5px 7.5px 0;
  border-radius: 2px;
  overflow: hidden;
}

.stats-panel-head {
  position: relative;
  background-color: #fafafa;
  border-bottom: 1px solid #eee;
  padding: 6px;

  h3 {
    flex: 1;
    margin: 0;
    font-size: 16px;
    line-height: 26px;
    font-weight: 600;
    // min-width: 120px;
  }
  .stats-form-groups {
    // flex: 1;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
  }
}

.stats-panel-body{
  position: relative;
}

.stats-form{
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  color: #595854;

  .stats-form-group {
    display: flex;
    flex-flow: row nowrap;

    // border: 1px solid #d9d9d9;
    border-radius: 2px;
    margin-left: 5px;
    background-color: #fff;

    &.stats-checkbox{
      border: none;
      background-color: transparent;
      margin-top: 2px;
      // min-width: 130px;
    }
  }

  .stats-form-daterange{
    height: 24px;
    line-height: 24px;
    width: 200px;
    padding: 0 4px;
    border-radius: 2px;
    background: #fff;
    cursor: pointer;

    span {
      display: inline-block;
      
      font-size: 14px;
      font-weight: 400;
      width: calc(100% - 14px);
    }
  }

  select{
    width: 200px;
    height: 24px;
    outline: none;
    border: none;
    background-color: transparent;
    padding: 0 3px;
  }

  label{
    height: 24px;
    line-height: 24px;
    margin: 0;
  }

  label.stats-form-title{
    width: 50px;
    padding-left: 10px;
  }

  input{
    border: none;
    outline: none;
    width: 200px;
    padding: 2px 6px;
  }
}

.stats-fullscreen-btn{
  background-color: transparent;
  border: none;
  height: 26px;
  width: 26px;
  outline: none;
  color: #666;

  &:hover{
    color: #000;
  }
}

.stats-badge{
  padding: .2em .6em;
  font-size: 75%;
  line-height: 1;
  color: #fff;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: 2px;
}

.stats-table{
  .el-table__header {
    th{
      background-color: #FAFAFA;
      color: #333;
      padding: 6px 0;
    }

    .caret-wrapper{
      height: 22px;

      .sort-caret.ascending{
        top:0;
      }
      .sort-caret.descending{
        bottom:0;
      }
    }
  }

  .el-table__body-wrapper{
    td{
      padding: 6px 0;
    }
  }
}

.stats-table-header{
  display: flex;
  flex-flow: row nowrap;
  padding: 5px;

  h3{
    font-size: 14px;
    flex: 1;
    margin: 0;
    line-height: 30px;
  }

  button{
    margin-left: 5px;
  }
}

.stats-table-expand{
  border-top: 1px solid #f4f4f4; 
  padding: 8px 0;
  text-align: center;
  transition: all ease .15s;

  &:hover{
    background-color: #f9fafc;

    button{
      color: #55b7b4;
    }
  }

  button{
    width: 100%;
    margin: 0; 
    padding: 0;
    background-color: transparent;
    border: none;
    outline: none;
    height: 24px;
    line-height: 24px;
    color: #9a9a9a;
    transition: all ease .15s;

    i{
      display: inline-block;
      font-size: 14px;
    }
  }
}

.stats-table-isExpand{
  i.iconfont{
    transform: rotate(180deg);
  }
}

.stats-table-tip{
  text-align: center;
  padding: 10px;
  font-size: 14px;
  color: #9a9a9a;
}

.stats-chart-title{
  font-size: 18px;
  margin: 0;
  line-height: 24px;
  text-align: center;
  padding: 10px 0 5px 0;
}

.stats-btn-text{
  background-color: transparent;
  border: none;
  padding: 0 5px;
  line-height: 24px;
}

.stats-btn-group{
  display: inline-flex;
  flex-flow: row nowrap;
  padding: 10px 0;
  margin: 0 auto;

  button{
    flex: 1;
    outline: none;
    border: 1px solid #ddd;
    border-left: none;
    background-color: #f4f4f4;
    padding: 6px 12px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    text-align: center;
    white-space: nowrap;
    transition: all ease .15s;
    border-radius: 0;
  }

  button:hover{
    background-color: #e5e5e5;
  }

  button:first-child{
    border-radius:  2px 0 0 2px ;
    border-left: 1px solid #ddd;
  }

  button:last-child{
    border-radius: 0 2px 2px 0;
  }

  button.stats-checked{
    background-color: $color-primary;
    border-color: $color-primary-light-7;
    color: #fff;
  }
}

.stats-popover-row{
  display: flex;
  flex-flow: row nowrap;
  max-width: 500px;
  margin-bottom: 5px;

  .stats-popover-label{
    width: 100px;
    font-weight: 700;
  }
  .stats-popover-text{
    flex: 1;
  }
}

.stats-pagination{
  text-align: right;
  padding: 5px;
}

.stats-team-select.biz-team-select{
  width: 242px;
  min-height: 24px;
  font-size: 13px;
  margin-left: 5px;
  border: none;
  padding: 0;

  .biz-team-select-placeholder{
    line-height: 18px;
  }

  .biz-team-select-input-inner p {
    line-height: 18px;
  }

  .biz-team-select-clear{
    height: 18px;
    widows: 18px;
    line-height: 18px;
    top: 49%;
  }
}
// 示例数据
.superscript{
  width: 24px;
  height: 24px;

  position: absolute;
  z-index: 1;

  padding-left: 0px !important;

  &::before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #ff9900 50%, transparent 50%);
  }

  &::after{
    content: "示例";
    position: absolute;
    left: -1px;
    top: -1px;
    height: 24px;
    width: 24px;
    line-height: 16px;
    font-size: 12px;
    color: #fff;
    text-align: center;
    transform: scale(0.7166666) rotateZ(-45deg);
  }
}

.sample-tooltip-content-padding {
  padding-left: 16px;
}


// cover bootstrap style

.btn-primary {
  color: #ffffff;
  background: #55b7b4;
  border-color: #55b7b4;
}
.btn-primary:focus,
.btn-primary.focus {
  color: #ffffff;
  background: #60bcb9!important;
  border-color: #60bcb9;
}
.btn-primary:hover {
  color: #ffffff;
  background: #60bcb9!important;
  border-color: #60bcb9;
}
.btn-primary:active,
.btn-primary.active,
.open > .dropdown-toggle,
.open > .dropdown-toggle.btn-primary {
  color: #ffffff;
  background: #60bcb9!important;
  border-color: #60bcb9;
}
.btn-primary:active:hover,
.btn-primary.active:hover,
.open > .dropdown-toggle:hover,
.open > .dropdown-toggle.btn-primary:hover,
.btn-primary:active:focus,
.btn-primary.active:focus,
.open > .dropdown-toggle:focus,
.open > .dropdown-toggle.btn-primary:focus,
.btn-primary:active.focus,
.btn-primary.active.focus,
.open > .dropdown-toggle.focus,
.open > .dropdown-toggle.btn-primary.focus {
  color: #ffffff;
  background: #60bcb9;
  border-color: #60bcb9;
}
.btn-primary:active,
.btn-primary.active,
.open > .dropdown-toggle,
.open > .dropdown-toggle.btn-primary {
  background-image: none;
}
.btn-primary.disabled:hover,
.btn-primary[disabled]:hover,
fieldset[disabled] .btn-primary:hover,
.btn-primary.disabled:focus,
.btn-primary[disabled]:focus,
fieldset[disabled] .btn-primary:focus,
.btn-primary.disabled.focus,
.btn-primary[disabled].focus,
fieldset[disabled] .btn-primary.focus {
  background: #55b7b4;
  border-color: #55b7b4;
}
.btn-primary .badge {
  color: #55b7b4;
  background: #ffffff;
}



.btn-primary.disabled, .btn-primary.disabled.active, .btn-primary.disabled.focus, .btn-primary.disabled:active, .btn-primary.disabled:focus, .btn-primary.disabled:hover, .btn-primary[disabled], .btn-primary[disabled].active, .btn-primary[disabled].focus, .btn-primary[disabled]:active, .btn-primary[disabled]:focus, .btn-primary[disabled]:hover, fieldset[disabled] .btn-primary, fieldset[disabled] .btn-primary.active, fieldset[disabled] .btn-primary.focus, fieldset[disabled] .btn-primary:active, fieldset[disabled] .btn-primary:focus, fieldset[disabled] .btn-primary:hover {
  background-color: #55b7b4;
  border-color: #55b7b4;
}



/* button end*/


/* pagination start*/
.pagination {
  display: inline-block;
  padding-left: 0;
  margin: 20px 0;
  border-radius: 4px;
}
.pagination > li {
  display: inline;
}
.pagination > li > a,
.pagination > li > span {
  position: relative;
  float: left;
  padding: 6px 12px;
  line-height: 1.42857143;
  text-decoration: none;
  color: #55b7b4;
  background: #ffffff;
  border: 1px solid #dddddd;
  margin-left: -1px;
}
.pagination > li:first-child > a,
.pagination > li:first-child > span {
  margin-left: 0;
  border-bottom-left-radius: 4px;
  border-top-left-radius: 4px;
}
.pagination > li:last-child > a,
.pagination > li:last-child > span {
  border-bottom-right-radius: 4px;
  border-top-right-radius: 4px;
}
.pagination > li > a:hover,
.pagination > li > span:hover,
.pagination > li > a:focus,
.pagination > li > span:focus {
  z-index: 2;
  color: #398784;
  background: #eeeeee;
  border-color: #dddddd;
}
.pagination > .active > a,
.pagination > .active > span,
.pagination > .active > a:hover,
.pagination > .active > span:hover,
.pagination > .active > a:focus,
.pagination > .active > span:focus {
  z-index: 3;
  color: #ffffff;
  background: #55b7b4;
  border-color: #55b7b4;
  cursor: default;
}
.pagination > .disabled > span,
.pagination > .disabled > span:hover,
.pagination > .disabled > span:focus,
.pagination > .disabled > a,
.pagination > .disabled > a:hover,
.pagination > .disabled > a:focus {
  color: #777777;
  background: #ffffff;
  border-color: #dddddd;
  cursor: not-allowed;
}
.pagination-lg > li > a,
.pagination-lg > li > span {
  padding: 10px 16px;
  font-size: 18px;
  line-height: 1.3333333;
}
.pagination-lg > li:first-child > a,
.pagination-lg > li:first-child > span {
  border-bottom-left-radius: 6px;
  border-top-left-radius: 6px;
}
.pagination-lg > li:last-child > a,
.pagination-lg > li:last-child > span {
  border-bottom-right-radius: 6px;
  border-top-right-radius: 6px;
}
.pagination-sm > li > a,
.pagination-sm > li > span {
  padding: 5px 10px;
  font-size: 12px;
  line-height: 1.5;
}
.pagination-sm > li:first-child > a,
.pagination-sm > li:first-child > span {
  border-bottom-left-radius: 3px;
  border-top-left-radius: 3px;
}
.pagination-sm > li:last-child > a,
.pagination-sm > li:last-child > span {
  border-bottom-right-radius: 3px;
  border-top-right-radius: 3px;
}

/* pagination end */

/* dropdown-toggle start*/

.dropdown-menu>li a:hover {
  background: #55b7b4;
  color: #fff;
  border-color: #55b7b4;
}

/* dropdown-toggle end*/


/* task list*/
/*.leadBtn.active{*/
/*background:#55b7b4 !important;*/
/*color:#fff;*/
/*}*/

/*.leadBtn:hover{*/
/*background:#55b7b4;*/
/*color:#fff*/
/*}*/

/*.nohover a:hover{*/
/*background:#55b7b4;*/
/*border-color:#55b7b4;*/
/*color:#fff*/
/*}*/

/*.astype li:hover{*/
/*background:#55b7b4!important;*/
/*color:#fff*/
/*}*/
/*.astype li.active{*/
/*background:#55b7b4!important;*/
/*color:#fff*/
/*}*/

/*.hoverli li:hover{*/
/*background:#55b7b4;*/
/*color:#fff;*/
/*cursor:pointer;*/
/*}*/

/*#dropdownElse:hover{*/
/*background:#55b7b4;*/
/*color:#fff;*/
/*border-color:#337ab7*/
/*}*/


/* other */

.nav-stacked>li.active>a, .nav-stacked>li.active>a:hover {
  border-left-color: #55b7b4;
}

.nav-tabs-custom>.nav-tabs>li.active {
  border-left-color: #55b7b4;
}

.pagination>.active>a {
  background: #55b7b4;
  border-color: #55b7b4;
}



/*.glyphicon {*/
/*color: #55b7b4;*/
/*}*/

.btn-primary-color {
  color: #55b7b4;
}

.btn-primary-color:hover {
  color: #55b7b4;
}

.search-btn{
  color: #55b7b4;
}

.search-btn:hover,
.search-btn:focus
{
  color: #55b7b4;
  text-decoration: none;
}

button:focus {
  outline: none!important;
}


.select2-container--default .select2-results__option--highlighted[aria-selected] {
  background: #55b7b4;
}

.select2-results__option select2-results__option--highlighted {
  background: #55b7b4;
}

.select2-selection__choice {
  background: #55b7b4;
  border-color: #55b7b4;
}

.cascader-setting-add {
  color: #55b7b4!important;
}

.cascader-setting-choose {
  background-color: #55b7b4!important;
}

.cascader-setting-add {
  color: #55b7b4!important;
}

.cascader-setting-choose {
  background-color: #55b7b4!important;
}


.daterangepicker .ranges li {
  color: #55b7b4;
}

.daterangepicker .ranges li.active, .daterangepicker .ranges li:hover {
  background: #55b7b4;
  border: 1px solid #55b7b4;
  color: #fff;
}

.daterangepicker .ranges li.active, .daterangepicker .ranges li:hover {
  background: #55b7b4;
  border: 1px solid #55b7b4;
  color: #fff;
}
a {
  color: $color-primary;
}
